using System;

namespace XmlStudio.Models.Events {
    /// <summary>
    /// Event arguments for ModelModified event.
    /// </summary>
    public class ModelModifiedEventArgs : EventArgs {
        /// <summary>
        /// Gets the value indicating whether the model is modified.
        /// </summary>
        public bool Modified { get; private set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="ModelModifiedEventArgs"/> class.
        /// </summary>
        /// <param name="modified">Modified.</param>
        public ModelModifiedEventArgs(bool modified) {
            this.Modified = modified;
        }
    }
}
